package com.qfedu.zf.life.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wjw
 * @since 2024-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PostPage implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 唯一标识符
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;



    private Long imageId;

    /**
     * 发帖标题
     */
    private String title;

    /**
     * 帖子文案
     */
    private String content;

    /**
     * 背景图
     */
    private String coverImage;

    /**
     * 点赞数
     */
    private Integer likeCount;


}
